package com.caogt.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @Desc TODO
 * @user caogt
 * @Date 2019-06-15-09:32
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableZuulProxy
@MapperScan(basePackages = "com.caogt.user.**.mapper")
public class UserStarter {
    @Value("${hello.from}")
    private String username;

    public static void main(String[] args) {
        SpringApplication.run(UserStarter.class,args);
    }
}
